package object;

public class DoubleDemo {
    public static void main(String[] args) {
        String s="123.456";
        double a=Double.parseDouble(s);
        System.out.println(a);
    }
}
